import Vue from "vue";
import VueRouter from "vue-router"
import Home from '@/compnent/Home.vue'
import Datails from '@/compnent/Details.vue'

 Vue.use(VueRouter);
export default new VueRouter({
	 routes:[
	  {
	  	path:"/home",
	  	component:Home
	  },
	  {
	  	path:"/datails",
	  	component:Datails
	  },
	   {
	  	path:"*",
	  	component:Home
	  }
	 ]
})
